execute unless entity @s[tag=UI-gamerule_control.ctr] run return fail

#ID
$function dab:system/ui/gamerules/update_display.id {SG:$(SG)}

#TD
$execute as @n[tag=UI-gamerule_control.ctr.TD,type=text_display,distance=..1] run function dab:system/ui/gamerules/update_display.td {SG:$(SG)}
